import { Module } from '@nestjs/common';
import { OssService } from './oss.service';
import { OssController } from './oss.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { File } from '../file/entities/file.entity';
import { FileService } from '../file/file.service';
import { RedisModule } from '../redis/redis.module';

@Module({
  imports: [TypeOrmModule.forFeature([File]), RedisModule],
  controllers: [OssController],
  providers: [OssService, FileService],
  exports: [OssService],
})
export class OssModule {}
